
//微信开放平台信息
var wxOpAppId = "wx403b3fd215c6b7c5"
var wxOpAppSec = "cee70922f76382c50501f1d058de9df3"
var wxMchId = "1545006061";

function aliPay(orderInfo,func){
    var aliPayPlus = api.require('aliPayPlus');
    aliPayPlus.payOrder({
        orderInfo: orderInfo,
    }, function(ret, err) {
        func(ret,err)
        // api.alert({
        //     title: '支付结果',
        //     msg: ret.code,
        //     buttons: ['确定']
        // });
    });
}
